﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using AmazeUI.Imodel;

namespace Ema.Models.XtModel
{
    public class SubXtRole : IXtRole
    {

        [DisplayName("名称")]
        [StringLength(16)]
        public string Name { get; set; }
        [StringLength(255)]
        public string Details { get; set; }
        [DisplayName("权限代码")]
        [StringLength(255)]
        public string[] Powers { get; set; }

        public int Id { get; set; }
    }
}